//
//  FPCustomPopupView.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/1/23.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FPCustomPopupView : UIView

@property (nonatomic, assign) CGFloat popupHeight;  // 弹窗高度，支持动态调整
@property (nonatomic, strong) UIView *contentView;      // 用于自定义内容的容器

- (instancetype)initWithHeight:(CGFloat)height; // 初始化方法
- (void)showInView:(UIView *)view;
- (void)dismiss;
- (void)updateHeight:(CGFloat)newHeight;

@end

NS_ASSUME_NONNULL_END
